﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReadOnlyThumbnailsListView.aspx.cs" Inherits="Mobile.Web.List.ReadOnlyThumbnailsListView" %>
<%@ Import Namespace="Mobile.Web.DataAccess" %>

<%@ Register TagPrefix="mob" Namespace="Mobile.WebControls" Assembly="AMF" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
	<head> 
	<title>Read Only Thumbnails List View</title> 
	
	<meta name="viewport" content="width=device-width, initial-scale=1"> 

    <mob:MobileResourcesManager ID="MobileResourcesManager1" runat="server"/>
</head> 
<body>

    <mob:MobilePage ID="mbPage1" runat="server">
        <Header>
            <h1>Read Only Thumbnails List View</h1>
        </Header>
        <Content>
            <mob:ListView ID="lv" runat="server">
                <ItemTemplate>  
                    <mob:TextContainer Url="#" runat="server" DataItem="<%# (Container.DataItem)%>">
                        <Content>
                        <mob:Image Source="<%# ((Album)Container.DataItem).AlbumUrl %>" runat="server"/>
                        <h3><%# ((Album)Container.DataItem).Title %></h3>
                        <p><%# ((Album)Container.DataItem).Artist %></p>
                        </Content>
                    </mob:TextContainer>
                </ItemTemplate>
            </mob:ListView>
        </Content>
        <Footer>
            <h1>Footer</h1>
        </Footer>
    </mob:MobilePage>


</body>
</html>
